package com.ruoyi.park.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 房源租赁视图对象
 *
 * @author cjie
 * @date 2021-07-20
 */
@Data
@ApiModel
public class RoomLeaseVO{
    private static final long serialVersionUID = 1L;

    /** 房源Id */
    @Excel(name = "房源Id")
    @ApiModelProperty(value = "房源Id")
    private String roomId;

    /** 房源编号 */
    @Excel(name = "房源编号")
    @ApiModelProperty(value = "房源编号")
    private String roomNum;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;


    /** 园区编号 */
    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    @ApiModelProperty(value = "楼栋编号")
    private String buildingNum;

    /** 单元编号 */
    @Excel(name = "单元编号")
    @ApiModelProperty(value = "单元编号")
    private String unitNum;

    /** 房源面积 */
    @Excel(name = "房源面积")
    @ApiModelProperty(value = "房源面积")
    private BigDecimal builtUpArea;

    /** 房源类型 */
    @Excel(name = "房源类型")
    @ApiModelProperty(value = "房源类型")
    private String roomType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    /** 房源面积下限 */
    @ApiModelProperty(value = "房源面积下限")
    private String lowerLimit;

    /** 房源面积上限 */
    @ApiModelProperty(value = "房源面积上限")
    private String upperLimit;


    /** 租赁状态 */
    @Excel(name = "租赁状态")
    @ApiModelProperty(value = "租赁状态")
    private String leaseState;

    @Excel(name = "已住人数")
    @ApiModelProperty(value = "已住人数")
    private int alreadyLive;

}
